home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1996 June / EnigmA AMIGA RUN 08 (1996)(G.R. Edizioni)(IT)[!][issue 1996-06][EARSAN CD VII].iso / earcd / c-lang / strmc105.lha / StormC-Demo / INCLUDE / clib / realtime_protos.h < prev    next >
C/C++ Source or Header  |  1996-01-02  |  2KB  |  61 lines

  1. #ifndef  CLIB_REALTIME_PROTOS_H
  2. #define  CLIB_REALTIME_PROTOS_H
  3.  
  4. /*
  5. **    $VER: realtime_protos.h 40.1 (16.3.93)
  6. **    Includes Release 40.15
  7. **
  8. **    C prototypes. For use with 32 bit integers only.
  9. **
  10. **    (C) Copyright 1990-1993 Commodore-Amiga, Inc.
  11. **        All Rights Reserved
  12. */
  13.  
  14. #ifndef  EXEC_TYPES_H
  15. #include <exec/types.h>
  16. #endif
  17. #ifndef  LIBRARIES_REALTIME_H
  18. #include <libraries/realtime.h>
  19. #endif
  20. #ifndef  UTILITY_TAGITEM_H
  21. #include <utility/tagitem.h>
  22. #endif
  23.  
  24. #ifdef __cplusplus
  25. extern "C" {
  26. #endif
  27.  
  28. /*--- functions in V37 or higher (Release 2.04) ---*/
  29.  
  30. /* Locks */
  31.  
  32. APTR LockRealTime( unsigned long lockType );
  33. void UnlockRealTime( APTR lock );
  34.  
  35. /* Conductor */
  36.  
  37. struct Player *CreatePlayerA( struct TagItem *tagList );
  38. struct Player *CreatePlayer( Tag tag1, ... );
  39. void DeletePlayer( struct Player *player );
  40. BOOL SetPlayerAttrsA( struct Player *player, struct TagItem *tagList );
  41. BOOL SetPlayerAttrs( struct Player *player, Tag tag1, ... );
  42. LONG SetConductorState( struct Player *player, unsigned long state,
  43.     long time );
  44. BOOL ExternalSync( struct Player *player, long minTime, long maxTime );
  45. struct Conductor *NextConductor( struct Conductor *previousConductor );
  46. struct Conductor *FindConductor( STRPTR name );
  47. ULONG GetPlayerAttrsA( struct Player *player, struct TagItem *tagList );
  48. ULONG GetPlayerAttrs( struct Player *player, Tag tag1, ... );
  49.  
  50. #ifdef __cplusplus
  51. }
  52. #endif
  53.  
  54. #ifdef STORMPRAGMAS
  55. #ifndef _INCLUDE_PRAGMA_REALTIME_LIB_H
  56. #include <pragma/realtime_lib.h>
  57. #endif
  58. #endif
  59.  
  60. #endif     /* CLIB_REALTIME_PROTOS_H */
  61.